package beans;

import java.util.Date;

public class Comment {
	private int id;
	private int threadId;
	private Account account;
	private String content;
	private Date time;

	public Comment(int id, Account account, String content, Date time) {
		this.id = id;
		this.account = account;
		this.content = content;
		this.time = time;
	}

	public Comment(int id, String content) {
		super();
		this.id = id;
		this.content = content;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public int getThreadId() {
		return threadId;
	}

	public void setThreadId(int threadId) {
		this.threadId = threadId;
	}

}
